Search results
24 packages found
a vite plugin, define dynamic env variables in import.meta.env
- vite-plugin-meta-env
- dynamic env variables
- import.meta.env
- vite define
- vite plugin
- vite
- vue3
- plugin
- env
- forguo
- a vite plugin, define dynamic env variables in import.meta.env
- 用于在 vite 项目中暴露动态的或者不含前缀的环境变量
Embed environment variables as global constants for local js files.
Define JS prototypes as globals for entire project
Automatically gets the `minver` version of the project and adds to Vite's define
Replace variables in code with other values or expressions.Supports Vite, Rollup, Webpack, Rspack and more.
A plugin to run an adjunct user defined task within other frameworks that use vite
Define constants for your project to facilitate reuse of your code across multiple products
- 安装 ```js npm install vite-plugin-perform ``` - 使用 1. 在vite中注册插件 ```js import vitePluginPerform from './vite-plugin-perform'; export default defineConfig({ plugins: [vitePluginPerform()], }) ``` 2. 在项目入口文件中引入 > reportSend 是被注册到window上的事
Define separate output files for JavaScript and CSS bundles
Define and resolve aliases for bundle dependencies
Add import define props type support for Vue3 script-setup and lang is typescript
Like the define config option, but for your index.html
A vite plugin for define env
This package exposes a function that defines a default Vite configuration. The default configuration consists of the following elements:
type-auto-imports is a vite plugin that allows all defined types(interfaces, classes & types) to be globally available
Vite define config for Archi Elite project.
vite plugin to transform html with define config
Vite plugin to create blurhash strings for all images inside a certain directory, or from the provided set of images. Hashes are then saved to an output file and stored in vite's define global variables.
---
Register global imports on demand for Vite and Webpack